---
page_title: "cloudflare_access_identity_provider Data Source - Cloudflare"
subcategory: ""
description: |-
  Use this data source to lookup a single Access Identity Provider https://developers.cloudflare.com/cloudflare-one/identity/idp-integration by name.
---

# cloudflare_access_identity_provider (Data Source)

Use this data source to lookup a single [Access Identity Provider](https://developers.cloudflare.com/cloudflare-one/identity/idp-integration) by name.

## Example Usage

```terraform
data "cloudflare_access_identity_provider" "example" {
  name       = "Google SSO"
  account_id = "f037e56e89293a057740de681ac9abbe"
}

resource "cloudflare_access_application" "example" {
  zone_id                   = "0da42c8d2132a9ddaf714f9e7c920711"
  name                      = "name"
  domain                    = "name.example.com"
  type                      = "self_hosted"
  session_duration          = "24h"
  allowed_idps              = [data.cloudflare_access_identity_provider.example.id]
  auto_redirect_to_identity = true
}
```
<!-- schema generated by tfplugindocs -->
## Schema

### Required

- `name` (String) Access Identity Provider name to search for.

### Optional

- `account_id` (String) The account identifier to target for the resource. Must provide only one of `zone_id`, `account_id`.
- `zone_id` (String) The zone identifier to target for the resource. Must provide only one of `zone_id`, `account_id`.

### Read-Only

- `id` (String) The ID of this resource.
- `type` (String) Access Identity Provider Type.


